﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="JobSite.aspx.cs" Inherits="HRDexCapstoneProject.Functions.JobPosting.JobSite" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
     <link href="../../Styles/masterpage.css" rel="stylesheet" type="text/css" />
    <style type="text/css">

        .style1
        {
            text-align: left;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="Main" class="div>
        <div id="header" >   Job Application</div>
        <div id="content">  
    <div align="center">
        <table >
            <tr>
                <td id="Title2" style="width: 101px" class="style1">
                    Applicant No</td>
                <td id="txtTitle2" style="width: 327px">
                    <asp:TextBox ID="txtEmpNum" runat="server" Width="318px" 
                        style="margin-left: 0px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td id="Title0" style="width: 101px" class="style1">
                    Last Name</td>
                <td id="txtTitle0" style="width: 327px">
                    <asp:TextBox ID="txtLName" runat="server" Width="318px" 
                        style="margin-left: 0px"></asp:TextBox>
                    <br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="txtLName" ErrorMessage="RequiredFieldValidator"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td id="Title7" style="width: 101px" class="style1">
                    First Name
                </td>
                <td id="txtTitle7" style="width: 327px">
                    <asp:TextBox ID="txtFName" runat="server" Width="318px" 
                        style="margin-left: 0px"></asp:TextBox>
                    <br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="txtFName" ErrorMessage="RequiredFieldValidator"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td id="Title9" style="width: 101px" class="style1">
                    Job</td>
                <td id="txtTitle9" style="width: 327px">
                    <asp:DropDownList ID="ddlJob" runat="server" DataSourceID="catJob" 
                        DataTextField="Title" DataValueField="JobID" Height="31px" Width="323px">
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="catJob" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:HRdexDBConnectionString %>" 
                        SelectCommand="SELECT * FROM [catJobTitle]"></asp:SqlDataSource>
                </td>
            </tr>
            <tr>
                <td id="Title4" style="width: 101px" class="style1">
                    Address</td>
                <td id="txtTitle4" style="width: 327px">
                    <asp:TextBox ID="txtAddress" runat="server" Width="318px" 
                        style="margin-left: 0px"></asp:TextBox>
                    <br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                        ControlToValidate="txtAddress" ErrorMessage="RequiredFieldValidator"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td id="Title5" style="width: 101px" class="style1">
                    Birthday
                </td>
                <td id="txtTitle5" style="width: 327px">
                    <asp:DropDownList ID="ddl0Month" runat="server">
                    <asp:ListItem Value="January"></asp:ListItem>
                    <asp:ListItem Value="February"></asp:ListItem>
                    <asp:ListItem>March</asp:ListItem>
                    <asp:ListItem>April</asp:ListItem>
                    <asp:ListItem>May</asp:ListItem>
                    <asp:ListItem>June</asp:ListItem>
                    <asp:ListItem>July</asp:ListItem>
                    <asp:ListItem>August</asp:ListItem>
                    <asp:ListItem>September</asp:ListItem>
                    <asp:ListItem>October</asp:ListItem>
                    <asp:ListItem>November</asp:ListItem>
                    <asp:ListItem>December</asp:ListItem>
                </asp:DropDownList>
                <asp:DropDownList ID="ddl0Day" runat="server">
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem Value="3"></asp:ListItem>
                    <asp:ListItem Value="4"></asp:ListItem>
                    <asp:ListItem Value="5"></asp:ListItem>
                    <asp:ListItem Value="6"></asp:ListItem>
                    <asp:ListItem Value="7"></asp:ListItem>
                    <asp:ListItem Value="8"></asp:ListItem>
                    <asp:ListItem Value="9"></asp:ListItem>
                    <asp:ListItem Value="10"></asp:ListItem>
                    <asp:ListItem Value="11"></asp:ListItem>
                    <asp:ListItem Value="12"></asp:ListItem>
                    <asp:ListItem Value="13"></asp:ListItem>
                    <asp:ListItem Value="14"></asp:ListItem>
                    <asp:ListItem Value="15"></asp:ListItem>
                    <asp:ListItem Value="16"></asp:ListItem>
                    <asp:ListItem Value="17"></asp:ListItem>
                    <asp:ListItem Value="18"></asp:ListItem>
                    <asp:ListItem Value="19"></asp:ListItem>
                    <asp:ListItem Value="20"></asp:ListItem>
                    <asp:ListItem Value="21"></asp:ListItem>
                    <asp:ListItem Value="22"></asp:ListItem>
                    <asp:ListItem Value="23"></asp:ListItem>
                    <asp:ListItem Value="24"></asp:ListItem>
                    <asp:ListItem Value="25"></asp:ListItem>
                    <asp:ListItem Value="26"></asp:ListItem>
                    <asp:ListItem Value="27"></asp:ListItem>
                    <asp:ListItem Value="28"></asp:ListItem>
                    <asp:ListItem Value="29"></asp:ListItem>
                    <asp:ListItem Value="30"></asp:ListItem>
                </asp:DropDownList>
                <asp:DropDownList ID="ddl0Year" runat="server" style="height: 22px">
                    <asp:ListItem Value="2012"></asp:ListItem>
                    <asp:ListItem Value="2013"></asp:ListItem>
                    <asp:ListItem Value="2014"></asp:ListItem>
                    <asp:ListItem Value="2015"></asp:ListItem>
                </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td id="Title6" style="width: 101px" class="style1">
                    Email</td>
                <td id="txtTitle6" style="width: 327px">
                    <asp:TextBox ID="txtEmail" runat="server" Width="318px" 
                        style="margin-left: 0px"></asp:TextBox>
                    <br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                        ControlToValidate="txtEmail" ErrorMessage="RequiredFieldValidator"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td id="Title8" style="width: 101px" class="style1">
                    Contact No.</td>
                <td id="txtTitle8" style="width: 327px">
                    <asp:TextBox ID="txtContactNo" runat="server" Width="318px" 
                        style="margin-left: 0px"></asp:TextBox>
                    <br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                        ControlToValidate="txtContactNo" ErrorMessage="RequiredFieldValidator"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <td id="Title" style="width: 101px" class="style1">
                Resume</td>
            <td id="txtTitle" style="width: 327px">
                <asp:FileUpload ID="fuAttachment" runat="server" Width="215px" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                    ControlToValidate="fuAttachment" ErrorMessage="RequiredFieldValidator"></asp:RequiredFieldValidator>
            </td>
            <tr>
                <td colspan="2">
                    <asp:Button ID="txtSubmit" runat="server" Text="Save" Width="57px" 
                        onclick="txtSubmit_Click" />
                    <asp:Button ID="txtCancel" runat="server" Text="Cancel" />
                </td>
            </tr>
        </table>
    </div>
    </div>
        <div id="footer">   FOOTER</div>
    </div>
    </form>
</body>
</html>
